from selenium import webdriver
import time

browser = webdriver.Chrome('E:\浏览器插件（chrome）/chromedriver.exe')
browser.get('http://login.taobao.com')
time.sleep(2)
# 打开新标签
js = "window.open('http://www.sogou.com')"
browser.execute_script(js)